/*================================================================
*   File Name：public.h
*   Mail: a1277992967@163.com 
*   blog: http://www.ycst.club/suggest/ 
*   Author：ycst
*   Created Time：2022年08月15日 星期一 13时53分52秒
*   Describe：
*
================================================================*/
#include <stdio.h>
#include <unistd.h>
#include <sys/socket.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <arpa/inet.h>
#include <netinet/in.h>
#include <string.h>
#include <strings.h>
#include <stdlib.h>
#include <errno.h>
#include <time.h>
#include <signal.h>
#include <sys/ipc.h>
#include <sys/shm.h>
#include <sys/epoll.h>
#include <time.h>


unsigned char get_value(char *recv_buf, unsigned char(*fun)(char *recv_buf));
unsigned char head(char *recv_buf);
unsigned char devType(char *recv_buf);
unsigned char devID(char *recv_buf);
unsigned char majorCmd(char *recv_buf);
unsigned char minCmd(char *recv_buf);
unsigned char cmdVal(char *recv_buf);
unsigned char reserve1(char *recv_buf);
unsigned char reserve2(char *recv_buf);
unsigned char tail(char *recv_buf);
